import FormLabel from './FormLabel';
import FormLabelView from './FormLabelView';
import FormLabelSetting from './FormLabelSetting';
import FormLabelPreview from './FormLabelPreview';
import { t } from '@src/locales'

// 创建工单
let FormLabelField = {
  formType: 'taskEstimatedMileage', // 字段类型
  fieldName: 'taskEstimatedMileage',
  name: t('common.form.type.taskEstimatedMileage'),
  placeHolder: t('common.form.preview.taskEstimatedMileage.placeholder'),
  forceDelete: true,
  isSystem: 1,
  previewIcon: 'icon-yujilicheng',
  setting: {
    defaultValueConfig: {
      isNotModify: true,
    },
  },
  component: {
    setting: FormLabelSetting,
    preview: FormLabelPreview,
    build: FormLabel,
    view: FormLabelView,
  },
};

export default FormLabelField;
